package com.DoubleLinkedList;

public class DHeroNode {
    public int no;
    public String name;
    public String nickName;
    public DHeroNode next; //用于指向下一个结点
    public DHeroNode pre;

    public DHeroNode(){

    }

    public DHeroNode(int no, String name, String nickName) {
        this.no = no;
        this.name = name;
        this.nickName = nickName;
    }

    @Override
    public String toString() {
        return "HeroNode{" +
                "no=" + no +
                ", name='" + name + '\'' +
                ", nickName='" + nickName + '\'' +
                '}';
    }
}
